package com.wlz.behavioral.template.v1;

public abstract class GoToDoctor {
    public  abstract void register();
    public  abstract void check();
    public  abstract void quit();

    public void run(){
        System.out.println("我生病了");
        this.register();
        this.check();
        this.quit();
        System.out.println("治好了");
    }

}
